Flite Custom Lexicon JSON Reference
Declared in | Voiceflow.schema.json |
Overview
Specifies a list of custom and manually generated lexicons to send to Flite speech synthesizer ion order for Flite to speech synthesize the words as indicated in the lexicons.
Note: Unless stated otherwise, value of properties that are of type "string"
can be updated at runtime by an application if their value is entered as a field name wrapped by "$["
and "]"
. If a property is of a type other than "string"
, then an additional property of type "string"
with the same property name appended with the string "Runtime"
is added to have its value entered as a field name wrapped by "$["
and "]"
. This allows the application to set the value of the field name at runtime to be the value of the original non-runtime property. Valid values of runtime fields override the values of non-runtime properties.
Tasks
-
loadCustomLexicon
Specifies whether to have Flite speech synthesizer load custom lexicon. Default:
"false"
. The value can be set at runtime using the"loadCustomLexiconRuntime"
property.Parameter is optional.
-
loadCustomLexiconRuntime
Contains the name of a field, as a string wrapped between
"$["
and"]"
, whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the"loadCustomLexicon"
property. Example:"$[LoadCustomLexicon]"
.Parameter is optional.
-
customLexiconEntryList
Contains a list of custom lexicon entries separated by ‘|’ as a delimiter. Example:
"dana : d aa1 n ah0|mounir : m uw0 n iy1 r"
. The value can be set at runtime using"$[<FieldName>]"
entry convention.Parameter is optional.
-
customLexiconFileName
File name containing the list of custom lexicon entries. The value can be set at runtime using
"$[<FieldName>]"
entry convention.Parameter is optional.
-
customLexiconFileLocation
URL or location of folder containing the custom lexicon file. The value can be set at runtime using
"$[<FieldName>]"
entry convention.Parameter is optional.
Properties
customLexiconEntryList
"customLexiconEntryList": string
Discussion
Contains a list of custom lexicon entries separated by ‘|’ as a delimiter. Example: "dana : d aa1 n ah0|mounir : m uw0 n iy1 r"
. The value can be set at runtime using "$[<FieldName>]"
entry convention.
Parameter is optional.
Declared In
Voiceflow.schema.json
customLexiconFileLocation
"customLexiconFileLocation": string
Discussion
URL or location of folder containing the custom lexicon file. The value can be set at runtime using "$[<FieldName>]"
entry convention.
Parameter is optional.
Declared In
Voiceflow.schema.json
customLexiconFileName
"customLexiconFileName": string
Discussion
File name containing the list of custom lexicon entries. The value can be set at runtime using "$[<FieldName>]"
entry convention.
Parameter is optional.
Declared In
Voiceflow.schema.json
loadCustomLexicon
"loadCustomLexicon": boolean
Discussion
Specifies whether to have Flite speech synthesizer load custom lexicon. Default: "false"
. The value can be set at runtime using the "loadCustomLexiconRuntime"
property.
Parameter is optional.
Declared In
Voiceflow.schema.json
loadCustomLexiconRuntime
"loadCustomLexiconRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$["
and "]"
, whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the "loadCustomLexicon"
property. Example: "$[LoadCustomLexicon]"
.
Parameter is optional.
Declared In
Voiceflow.schema.json